package cn.iocoder.yudao.module.call.controller.admin.task.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 外呼任务请求重呼 Request VO")
@Data
public class CallTaskRecallReqVO {

    @Schema(description = "任务ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27964")
    @NotNull(message = "任务ID不能为空")
    private Long id;

    @Schema(description = "任务名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "27964")
    @NotEmpty(message = "任务名称不能为空")
    private String name;

    @Schema(description = "并发倍率", requiredMode = Schema.RequiredMode.REQUIRED, example = "27964")
    private Integer multiplier = 1;

    @Schema(description = "指定班组", requiredMode = Schema.RequiredMode.REQUIRED, example = "27964")
    private Long groupId;

    @Schema(description = "呼叫结果", requiredMode = Schema.RequiredMode.REQUIRED, example = "[1,2,3]")
    @NotEmpty(message = "呼叫结果不能为空")
    private List<Integer> typeList;

}